Progress widgets: Better typography
authorMatthias Clasen <mclasen@redhat.com>
Fri, 22 Aug 2014 15:05:20 +0000 (11:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 30 Sep 2014 03:05:22 +0000 (23:05 -0400)
Use a small space before %.

https://bugzilla.gnome.org/show_bug.cgi?id=735192

gtk/gtkcellrendererprogress.c

index f8cb51d7fbb9b2287d4c10456d03d6e2f0c972d4..ec5aa31397b4d6d89fa6430a328efcffb7b516a5 100644 (file)
@@ -373,7 +373,7 @@ recompute_label (GtkCellRendererProgress *cellprogress)
   if (priv->text)
     label = g_strdup (priv->text);
   else if (priv->pulse < 0)
-    label = g_strdup_printf (C_("progress bar label", "%d %%"), priv->value);
+    label = g_strdup_printf (C_("progress bar label", "%d%%"), priv->value);
   else
     label = NULL;
  
@@ -466,7 +466,7 @@ gtk_cell_renderer_progress_get_size (GtkCellRenderer    *cell,
 
   if (priv->min_w < 0)
     {
-      text = g_strdup_printf (C_("progress bar label", "%d %%"), 100);
+      text = g_strdup_printf (C_("progress bar label", "%d%%"), 100);
       compute_dimensions (cell, widget, text,
                          &priv->min_w,
                          &priv->min_h);